/**
 * @Author : lizhifeng
 * @create 2022/8/18 20:15
 * @DESC 2022/8/18 20:15
 */


public class Input {

    private TransactionId transactionId;
    private int amount;

    public Input() {
    }

    public Input(TransactionId transactionId, int amount) {
        this.transactionId = transactionId;
        this.amount = amount;
    }

    public Input(byte[] key, int amount) {
        this.transactionId = new TransactionId(key);
        this.amount = amount;
    }

    public TransactionId getTransactionId() {
        return transactionId;
    }

    public void setTransactionId(TransactionId transactionId) {
        this.transactionId = transactionId;
    }

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }


}
